package com.unknowpupil.design.flyweight;

/**
 * @Description: <p>
 *  享元类
 * </p>
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/4/28 11:02
 * @Classname: ChessFlyWeight
 * @Version: 1.0
 */
public interface ChessFlyWeight {
    /**
     * 大小形状 略
     * 颜色
     */
    void setColor(String color);

    /**
     * 获取颜色
     * @return
     */
    String getColor();

    /**
     * 展示
     */
    void display(Coordinate coordinate);
}
